package com.yunhai.recipe.service;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.fms.FmsMaterialConfigEntity;
import com.yunhai.model.vo.fms.FmsMaterialConfigQuery;
import com.yunhai.model.vo.fms.FmsMaterialConfigVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;


public interface FmsMaterialConfigService {

    /**
     * 获取 FmsMaterialConfig 分页列表
     */
    public IPage getFmsMaterialConfigPagination(PaginationVo paginationVo, FmsMaterialConfigQuery fmsMaterialConfigQuery ) throws Exception;


    /**
     * 获取 FmsMaterialConfig 所有数据
     *
    */
    public List<FmsMaterialConfigEntity> getFmsMaterialConfigAllList(FmsMaterialConfigQuery fmsMaterialConfigQuery ) throws Exception;


    /**
     * 获取 FmsMaterialConfig 详情
    */
    public FmsMaterialConfigEntity getFmsMaterialConfigDetail( Long id) throws Exception;


    /**
     * 新增 FmsMaterialConfig
     * */
    public void addFmsMaterialConfig(FmsMaterialConfigVo fmsMaterialConfigVo) throws Exception;


    /**
     * 更新 FmsMaterialConfig
     * */
    public void updateFmsMaterialConfig( FmsMaterialConfigVo fmsMaterialConfigVo) throws Exception;

    /**
     * 删除 FmsMaterialConfig
     * */
    public void batchRemoveFmsMaterialConfig( List<Long> ids ) throws Exception;

    List<FmsMaterialConfigEntity> getRecipeByIds(List<Long> ids) throws Exception;

    void addImportExcelFile(MultipartFile file) throws Exception;

    void exportExcelFile(HttpServletResponse response)  throws Exception;
}

      